Creating a list of positions of a substring within a string (DNA) (Python 3)

welcome to shbcf.ru